<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" 			uri="/struts-tags"%>
<%@ taglib prefix="display" 	uri="http://displaytag.sf.net"%>
<%@ taglib prefix="aa" 			uri="http://ajaxanywhere.sourceforge.net/"%> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>공통코드-LIST-</title>
</head>
<body>
<s:form name="list_fm" id="list_fm" theme="simple">
	<!----------Tbl_info & Table box ------>
		<div id="tbl_info_box">
			<ul><li class="txt"><b>조회건수</b>  :  <s:property value="searchResult"/>건</li></ul>
		</div>
		
		<aa:zone name="listTable">
			<display:table id="row"  uid="row" name="list" requestURI="attendSearchCommonCode.action" class="enterpriseinfo_tbl">
				<display:setProperty  name="basic.msg.empty_list" value="조회된 데이터가 없습니다." />
				<display:column title="선택"><s:checkbox name="checkSelect"  fieldValue="%{#attr.row.table}" /></display:column>
				<display:column title="대표코드"  headerClass="sortable">
					<span id="hand" style="cursor: pointer;" onclick="modifyCommonCode('<s:property value="%{#attr.row.table}" />')" style="color:blue" ><s:property  value="%{#attr.row.group_cd}" /></span>
				</display:column>
				<display:column title="대표코드명" 	property="group_code_nm" 	 	headerClass="sortable" />
				<display:column title="코드" 		property="cd" 				  	headerClass="sortable" />
				<display:column title="코드명" 		property="full_nm" 			 	headerClass="sortable" />	
				<display:column title="사용여부" 									 	headerClass="sortable" >
					<s:if test='#attr.row.use_yn != "Y"'><font color="red"><s:property value="#attr.row.use_yn"/></font></s:if><s:else><s:property value="#attr.row.use_yn"/></s:else>
				</display:column>	
				<display:column class="hidden" headerClass="hidden"><s:hidden name="cd" value="%{#attr.row.cd}"/></display:column>	
			</display:table>
		</aa:zone>		
	<!----------Tbl_info & Table box ------>
 	<!-- 페이징 Start -->
    	<div class="pagination">
			<s:property value="pDao.html" escape="false"/>
		</div>
	<!-- // 페이징 End -->
</s:form>
</body>
<script src="inc/js/ajaxCommon.js"></script>
</html>
